import { getEle } from "./utils.js";

const bindEvent = (selector,eventType,eventHandle)=> {
    const ele = getEle(selector);
    ele.addEventListener(eventType,eventHandle);
}

export default bindEvent;